/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package aptech.semester.code.entity;

import java.util.Vector;

/**
 *
 * @author vi
 */
public class BankEntity {
    private int bankId;
    private String bankName;
    private String address;
    private String description;

    public int getBankId() {
        return bankId;
    }

    public void setBankId(int bankId) {
        this.bankId = bankId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public Vector toVector(){
        Vector v = new Vector();
        
        v.add(getBankId());
        v.add(getBankName());
        v.add(getAddress());
        v.add(getDescription());
        return v;
    }
    
}
